/*
 * @Descripttion:
 * @version: 用户管理
 * @Author: ada.wu
 * @Date: 2023-10-30 16:11:30
 * @LastEditors: ada.wu
 * @LastEditTime: 2023-11-05 13:51:35
 */


import {mapValue} from '@/utils/EsCommon';

export function courseParams() {
  return {
    "name": null,
    "academyId": null,
    "majorId": null,
    "TeacherId": null,
    "degreeType": null,
    "courseType": null,
    "semesterId": null,
    "roomId": null,
    "classWeek": "",
    "weekday": null,
    "classId": null
  }
}

export const DEGREE_TYPE = {
  '1': '公开课',
  '2': '非公开课',
}
export const COURSE_TYPE = {
  '0': '专业课程',
  '1': '公共课程',
  '2': '平台基础',
}
export const CLASS_ID = {
  '0': '本科',
  '1': '研究生',
}

export const degreeTypeList = mapValue(DEGREE_TYPE);
export const courseTypeList = mapValue(COURSE_TYPE);
export const classList = mapValue(CLASS_ID);


